package bar.dark.lee.common;

import android.util.Log;

public class BDLog {
	private static final String SIDE_LEFT = "<< ";
	private static final String SIDE_RIGHT = " >>";
	private static final boolean LOG_ACTIVITED = true;

	public static void d( Object $object, String $msg)
	{
		if(LOG_ACTIVITED)
			Log.d(SIDE_LEFT + $object.getClass().getSimpleName() + SIDE_RIGHT, $msg);
	}

	public static void i( Object $object, String $msg)
	{
		if(LOG_ACTIVITED)
			Log.i(SIDE_LEFT + $object.getClass().getSimpleName() + SIDE_RIGHT, $msg);
	}
	
	public static void v( Object $object, String $msg)
	{
		if(LOG_ACTIVITED)
			Log.v(SIDE_LEFT + $object.getClass().getSimpleName() + SIDE_RIGHT, $msg);
	}
	
	public static void w( Object $object, String $msg)
	{
		if(LOG_ACTIVITED)
			Log.w(SIDE_LEFT + $object.getClass().getSimpleName() + SIDE_RIGHT, $msg);
	}
	
	public static void e( Object $object, String $msg)
	{
		if(LOG_ACTIVITED)
			Log.e(SIDE_LEFT + $object.getClass().getSimpleName() + SIDE_RIGHT, $msg);
	}
}
